<?php

$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
$return=array();

if($_RQ['op']=='main'){
	if($_RQ['postdata']){
		$post=get_postdata();
		$this->plugin_setting('notice',$post);
		exi('设置成功！');
	}
	$item=$this->plugin_setting('notice');
	$return['item']=$item;
	$return['htmls']=array(
		'type'=>'edit',
		'desc'=>'消息提醒设置',
		'edit_tab'=>true,
		'edits'=>array(
			array('title'=>'卖家通知','list'=>array(
				array('type'=>'choose_many','name'=>'seller','title'=>'通知人','choose_title'=>'选择通知人','help'=>'如不填写，则不发送卖家通知','action'=>'core/member.get_member/many'),
			)),
		),
	);
	exi($return);
}
?>